<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Configure</title>
<link href="./style.css" rel="stylesheet" type="text/css">
</head>

<body>
<br>
	<table class="principale" width="100%" style="border-style: none;">
		<tr>
			<td><h1><?php
			require_once 'tools/db/DbUtils.php';
			require_once 'tools/http/HTTP_REQUEST.php';
			
			if(HTTP_RESQUEST::exist('login') && HTTP_RESQUEST::exist('password') && HTTP_RESQUEST::exist('course')){
				$login=HTTP_RESQUEST::param('login');
				$password=HTTP_RESQUEST::param('password');
				if($login=="set" && $password="course"){

					$obj_utils=new DbUtils();
					$obj_utils->connect();
					$obj_utils->setCourse(HTTP_RESQUEST::param('course'));
					$obj_utils->close();


					echo "COURSE: ".HTTP_RESQUEST::param('course');
				}

				?></h1> <?php
			}

			?>
			</td>
		</tr>
		
	</table>
</body>
</html>
